package com.dragon.pear.modules.trade.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.dragon.common.spring.business.base.BaseCrudController;
import com.dragon.pear.modules.trade.domain.entity.TradeGoodsPayEntity;
import com.dragon.pear.modules.trade.web.model.params.create.TradeGoodsPayCreateParam;
import com.dragon.pear.modules.trade.web.model.params.update.TradeGoodsPayUpdateParam;
import com.dragon.pear.modules.trade.web.model.params.search.TradeGoodsPaySearchParam;
import com.dragon.pear.modules.trade.web.model.params.order.TradeGoodsPayOrderParam;
import com.dragon.pear.modules.trade.web.model.results.TradeGoodsPayResult;
import com.dragon.pear.modules.trade.dao.repository.TradeGoodsPayRepository;
import com.dragon.pear.modules.trade.service.assistants.converters.TradeGoodsPayConverter;
import com.dragon.pear.modules.trade.service.def.TradeGoodsPayService;
import com.dragon.pear.modules.trade.web.api.TradeGoodsPayApi;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:06
 * Use for: 付款 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("trade/goods/pay")
public class TradeGoodsPayController implements TradeGoodsPayApi, BaseCrudController<
        TradeGoodsPayEntity,
        TradeGoodsPayCreateParam,
        TradeGoodsPayUpdateParam,
        TradeGoodsPaySearchParam,
        TradeGoodsPayOrderParam,
        TradeGoodsPayResult,
        TradeGoodsPayRepository,
        TradeGoodsPayConverter,
        TradeGoodsPayService
        > {

    @Autowired
    TradeGoodsPayService tradeGoodsPayService;

    @Override
    public TradeGoodsPayService getService() {
        return tradeGoodsPayService;
    }
}